home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / oew / ex_.ar_ / examples / planes / inter / PLANENEW.CXX < prev    next >
Encoding:
C/C++ Source or Header  |  1979-11-30  |  7.3 KB  |  224 lines

  1. #include <string.h>
  2. #include <sv.hxx>
  3.  
  4. #include "planewin.hrc"
  5. #include "planenew.hxx"
  6.  
  7.  
  8. WorkWindowPLANEWINDOW::WorkWindowPLANEWINDOW( Window * pParent, ResId & rResId, BOOL bFreeRes )
  9.     : WorkWindow( pParent, rResId ),
  10.     aPushButton1( this, ResId( 1 ) ),
  11.     aPushButton2( this, ResId( 2 ) ),
  12.     aPushButton3( this, ResId( 3 ) ),
  13.     aFixedText1( this, ResId( 1 ) ),
  14.     aGroupBox1( this, ResId( 1 ) ),
  15.     aPushButtonDELETE_BUTTON( this, ResId( DELETE_BUTTON ) ),
  16.     aPushButton4( this, ResId( 4 ) )
  17. {
  18.     if( bFreeRes ) FreeResource();
  19. }
  20.  
  21. ModalDialogPASSENGERPLANEDIALOG::ModalDialogPASSENGERPLANEDIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  22.     : ModalDialog( pParent, rResId ),
  23.     aNumericFieldPLANEIDEDIT( this, ResId( PLANEIDEDIT ) ),
  24.     aNumericFieldREVENUEEDIT( this, ResId( REVENUEEDIT ) ),
  25.     aListBoxPASSENGERLISTBOX( this, ResId( PASSENGERLISTBOX ) ),
  26.     aPushButtonINSERT_BUTTON( this, ResId( INSERT_BUTTON ) ),
  27.     aPushButtonDELETE_BUTTON( this, ResId( DELETE_BUTTON ) ),
  28.     aOKButton1( this, ResId( 1 ) ),
  29.     aCancelButton1( this, ResId( 1 ) ),
  30.     aGroupBox2( this, ResId( 2 ) ),
  31.     aFixedBitmap1( this, ResId( 1 ) ),
  32.     aGroupBox6( this, ResId( 6 ) ),
  33.     aFixedText1( this, ResId( 1 ) ),
  34.     aFixedText3( this, ResId( 3 ) )
  35. {
  36.     if( bFreeRes ) FreeResource();
  37. }
  38.  
  39. ModalDialogCARGOPLANEDIALOG::ModalDialogCARGOPLANEDIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  40.     : ModalDialog( pParent, rResId ),
  41.     aNumericFieldPLANEIDEDIT( this, ResId( PLANEIDEDIT ) ),
  42.     aNumericFieldREVENUEEDIT( this, ResId( REVENUEEDIT ) ),
  43.     aListBoxCARGOLISTBOX( this, ResId( CARGOLISTBOX ) ),
  44.     aPushButtonINSERT_BUTTON( this, ResId( INSERT_BUTTON ) ),
  45.     aPushButtonDELETE_BUTTON( this, ResId( DELETE_BUTTON ) ),
  46.     aOKButton1( this, ResId( 1 ) ),
  47.     aCancelButton1( this, ResId( 1 ) ),
  48.     aGroupBox1( this, ResId( 1 ) ),
  49.     aGroupBox5( this, ResId( 5 ) ),
  50.     aFixedBitmap1( this, ResId( 1 ) ),
  51.     aFixedText2( this, ResId( 2 ) ),
  52.     aFixedText3( this, ResId( 3 ) )
  53. {
  54.     if( bFreeRes ) FreeResource();
  55. }
  56.  
  57. ModalDialogCOMBOPLANEDIALOG::ModalDialogCOMBOPLANEDIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  58.     : ModalDialog( pParent, rResId ),
  59.     aNumericFieldPLANEIDEDIT( this, ResId( PLANEIDEDIT ) ),
  60.     aNumericFieldREVENUEEDIT( this, ResId( REVENUEEDIT ) ),
  61.     aPushButtonSHOW_PASSENGERS( this, ResId( SHOW_PASSENGERS ) ),
  62.     aListBoxCARGOLISTBOX( this, ResId( CARGOLISTBOX ) ),
  63.     aListBox2( this, ResId( 2 ) ),
  64.     aGroupBox6( this, ResId( 6 ) ),
  65.     aGroupBox2( this, ResId( 2 ) ),
  66.     aPushButtonINSERT_BUTTON( this, ResId( INSERT_BUTTON ) ),
  67.     aPushButtonDELETE_BUTTON( this, ResId( DELETE_BUTTON ) ),
  68.     aOKButton1( this, ResId( 1 ) ),
  69.     aCancelButton1( this, ResId( 1 ) ),
  70.     aFixedBitmap1( this, ResId( 1 ) ),
  71.     aFixedText1( this, ResId( 1 ) ),
  72.     aFixedText4( this, ResId( 4 ) )
  73. {
  74.     if( bFreeRes ) FreeResource();
  75. }
  76.  
  77. ModalDialogABOUTDIALOG::ModalDialogABOUTDIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  78.     : ModalDialog( pParent, rResId ),
  79.     aFixedBitmap1( this, ResId( 1 ) ),
  80.     aOKButton1( this, ResId( 1 ) ),
  81.     aFixedText1( this, ResId( 1 ) ),
  82.     aFixedText2( this, ResId( 2 ) ),
  83.     aFixedText3( this, ResId( 3 ) )
  84. {
  85.     if( bFreeRes ) FreeResource();
  86. }
  87.  
  88. ModalDialogPASSENGERDIALOG::ModalDialogPASSENGERDIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  89.     : ModalDialog( pParent, rResId ),
  90.     aEdit1( this, ResId( 1 ) ),
  91.     aNumericField2( this, ResId( 2 ) ),
  92.     aMultiLineEdit1( this, ResId( 1 ) ),
  93.     aDateField1( this, ResId( 1 ) ),
  94.     aEdit2( this, ResId( 2 ) ),
  95.     aOKButton1( this, ResId( 1 ) ),
  96.     aPushButton1( this, ResId( 1 ) ),
  97.     aCancelButton1( this, ResId( 1 ) ),
  98.     aFixedText2( this, ResId( 2 ) ),
  99.     aFixedText4( this, ResId( 4 ) ),
  100.     aFixedText5( this, ResId( 5 ) ),
  101.     aFixedText6( this, ResId( 6 ) ),
  102.     aFixedText3( this, ResId( 3 ) )
  103. {
  104.     if( bFreeRes ) FreeResource();
  105. }
  106.  
  107. ModalDialogCARGODIALOG::ModalDialogCARGODIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  108.     : ModalDialog( pParent, rResId ),
  109.     aEdit1( this, ResId( 1 ) ),
  110.     aNumericField2( this, ResId( 2 ) ),
  111.     aNumericField1( this, ResId( 1 ) ),
  112.     aOKButton1( this, ResId( 1 ) ),
  113.     aCancelButton1( this, ResId( 1 ) ),
  114.     aFixedText1( this, ResId( 1 ) ),
  115.     aFixedText2( this, ResId( 2 ) ),
  116.     aFixedText4( this, ResId( 4 ) ),
  117.     aPushButton1( this, ResId( 1 ) )
  118. {
  119.     if( bFreeRes ) FreeResource();
  120. }
  121.  
  122. ModalDialogGENERATOR_DIALOG::ModalDialogGENERATOR_DIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  123.     : ModalDialog( pParent, rResId ),
  124.     aFixedText1( this, ResId( 1 ) ),
  125.     aFixedText2( this, ResId( 2 ) ),
  126.     aFixedText3( this, ResId( 3 ) ),
  127.     aNumericFieldPPLANE_COUNT( this, ResId( PPLANE_COUNT ) ),
  128.     aNumericFieldCPLANECOUNT( this, ResId( CPLANECOUNT ) ),
  129.     aNumericFieldMPLANECOUNT( this, ResId( MPLANECOUNT ) ),
  130.     aOKButton1( this, ResId( 1 ) ),
  131.     aCancelButton1( this, ResId( 1 ) )
  132. {
  133.     if( bFreeRes ) FreeResource();
  134. }
  135.  
  136. ModalDialogQUERY_DIALOG::ModalDialogQUERY_DIALOG( Window * pParent, ResId & rResId, BOOL bFreeRes )
  137.     : ModalDialog( pParent, rResId ),
  138.     aCheckBoxREV_SUM( this, ResId( REV_SUM ) ),
  139.     aCheckBoxPLANEID( this, ResId( PLANEID ) ),
  140.     aListBoxSELECTRELATION( this, ResId( SELECTRELATION ) ),
  141.     aNumericFieldPLANEIDFIELD( this, ResId( PLANEIDFIELD ) ),
  142.     aGroupBox1( this, ResId( 1 ) ),
  143.     aOKButtonMAKEITSO( this, ResId( MAKEITSO ) ),
  144.     aCheckBoxSHOWPROGRESS( this, ResId( SHOWPROGRESS ) ),
  145.     aOKButton2( this, ResId( 2 ) ),
  146.     aEditREVENUE_RESULTS( this, ResId( REVENUE_RESULTS ) ),
  147.     aListBoxPLANESRESULTS( this, ResId( PLANESRESULTS ) )
  148. {
  149.     if( bFreeRes ) FreeResource();
  150. }
  151.  
  152. StringCOLID_ID::StringCOLID_ID( ResId & rResId, BOOL )
  153.     : String( rResId )
  154. {
  155.     // No subresources, automatic free resource
  156. }
  157.  
  158. StringCOLID_REVENUE::StringCOLID_REVENUE( ResId & rResId, BOOL )
  159.     : String( rResId )
  160. {
  161.     // No subresources, automatic free resource
  162. }
  163.  
  164. StringCOLID_PICTURE::StringCOLID_PICTURE( ResId & rResId, BOOL )
  165.     : String( rResId )
  166. {
  167.     // No subresources, automatic free resource
  168. }
  169.  
  170. StringCOLID_TYPE::StringCOLID_TYPE( ResId & rResId, BOOL )
  171.     : String( rResId )
  172. {
  173.     // No subresources, automatic free resource
  174. }
  175.  
  176. MenuMENU_MAIN::MenuMENU_MAIN( ResId & rResId, BOOL )
  177.     : Menu( rResId )
  178. {
  179.     // No subresources, automatic free resource
  180. }
  181.  
  182. Bitmap256::Bitmap256( ResId & rResId, BOOL )
  183.     : Bitmap( rResId )
  184. {
  185.     // No subresources, automatic free resource
  186. }
  187.  
  188. Bitmap257::Bitmap257( ResId & rResId, BOOL )
  189.     : Bitmap( rResId )
  190. {
  191.     // No subresources, automatic free resource
  192. }
  193.  
  194. Bitmap258::Bitmap258( ResId & rResId, BOOL )
  195.     : Bitmap( rResId )
  196. {
  197.     // No subresources, automatic free resource
  198. }
  199.  
  200. Bitmap259::Bitmap259( ResId & rResId, BOOL )
  201.     : Bitmap( rResId )
  202. {
  203.     // No subresources, automatic free resource
  204. }
  205.  
  206. Bitmap260::Bitmap260( ResId & rResId, BOOL )
  207.     : Bitmap( rResId )
  208. {
  209.     // No subresources, automatic free resource
  210. }
  211.  
  212. Bitmap261::Bitmap261( ResId & rResId, BOOL )
  213.     : Bitmap( rResId )
  214. {
  215.     // No subresources, automatic free resource
  216. }
  217.  
  218. Icon256::Icon256( ResId & rResId, BOOL )
  219.     : Icon( rResId )
  220. {
  221.     // No subresources, automatic free resource
  222. }
  223.  
  224.